package com.afu.aopDemo.controller;

import com.afu.aopDemo.annotion.log;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: DemoController
 * Package: com.afu.aopDemo.controller
 * Description:
 *
 * @Author zxf
 * @Create 2024/2/2 11:57
 * @Version 1.0
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @log("getString")
    @RequestMapping("/getString")
    public String getString(){
        return "hello!";
    }
}
